# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=bootterm
pkgver=0.5
pkgrel=0
pkgdesc="Simple, reliable and powerful terminal designed to ease connection to ephemeral serial ports"
url="https://github.com/wtarreau/bootterm"
arch="all"
license="MIT"
makedepends="linux-headers"
subpackages="$pkgname-dbg"
options="!check" # no unit tests provided

source="
	$pkgname-$pkgver.tar.gz::https://github.com/wtarreau/bootterm/archive/v$pkgver.tar.gz

	0001-fix-includes.patch
	"

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
6b01d33a343f42a261aece87b52936bfa174115ba684e0a07a87e2738407ceb6c2c12ddc8764ede5fe42e170be1f661b89e8e7841f662f0abb43fd675970fce8  bootterm-0.5.tar.gz
244c23f923fe956aa0ec802ec8e3e4461141c7ae3b4c684c172d0a9895248df0d1d3f98155befc7991c9cdc57eeaf8816d91ab98242855c66bd43850012ecf77  0001-fix-includes.patch
"
